package com.garfield.dao;

import com.garfield.entity.User;
import org.apache.ibatis.annotations.Mapper;

//用来创建dao对象，一定要写@Mapper
@Mapper
public interface UserDAO {
    void save(User user);

    User findByUserName(String username);
}
